package com.beordie.model;

import java.util.List;

/**
 * @Classname Role
 * @Description 权限分配
 * @Date 2021/6/13 21:57
 * @Created 30500
 */
public class Role {
    private Integer roleId;
    private String roleName;
    private Integer roleState;
    // 一个权限可赋予多个人使用
    private List<Users> users;
    // 一个权限可定义多个菜单
    private List<Menu> menu;

    public List<Menu> getMenu() {
        return menu;
    }

    public void setMenu(List<Menu> menu) {
        this.menu = menu;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getRoleState() {
        return roleState;
    }

    public void setRoleState(Integer roleState) {
        this.roleState = roleState;
    }

    public List<Users> getUsers() {
        return users;
    }

    public void setUsers(List<Users> users) {
        this.users = users;
    }
}
